package com.sgb.goods.entity;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.Objects;

/**
 * 描述：商品-仓储管理
 *
 * @author qiangHeNoo
 * <p>
 * 时间：2021.11.27
 */
public class StorageManageEntity implements Serializable {
    private String storageName;
    private String address;
    private String detailsAddress;
    private String id;
    private String remark;
    private String provinceNo;
    private String cityNo;
    private String districtNo;
    private String provinceName;
    private String cityName;
    private String districtName;
    @SerializedName("desc")
    private String desc;
    @SerializedName("latitude")
    private String latitude;
    @SerializedName("longitude")
    private String longitude;
    private String companyId;
    private String no;

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getDetailsAddress() {
        return detailsAddress;
    }

    public void setDetailsAddress(String detailsAddress) {
        this.detailsAddress = detailsAddress;
    }

    public String getStorageName() {
        return storageName;
    }

    public void setStorageName(String storageName) {
        this.storageName = storageName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getProvinceNo() {
        return provinceNo;
    }

    public void setProvinceNo(String provinceNo) {
        this.provinceNo = provinceNo;
    }

    public String getCityNo() {
        return cityNo;
    }

    public void setCityNo(String cityNo) {
        this.cityNo = cityNo;
    }

    public String getDistrictNo() {
        return districtNo;
    }

    public void setDistrictNo(String districtNo) {
        this.districtNo = districtNo;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        StorageManageEntity that = (StorageManageEntity) o;
        return Objects.equals(storageName, that.storageName) &&
                Objects.equals(address, that.address) &&
                Objects.equals(detailsAddress, that.detailsAddress) &&
                Objects.equals(id, that.id) &&
                Objects.equals(remark, that.remark) &&
                Objects.equals(provinceNo, that.provinceNo) &&
                Objects.equals(cityNo, that.cityNo) &&
                Objects.equals(districtNo, that.districtNo) &&
                Objects.equals(provinceName, that.provinceName) &&
                Objects.equals(cityName, that.cityName) &&
                Objects.equals(districtName, that.districtName) &&
                Objects.equals(desc, that.desc) &&
                Objects.equals(latitude, that.latitude) &&
                Objects.equals(longitude, that.longitude) &&
                Objects.equals(companyId, that.companyId) &&
                Objects.equals(no, that.no);
    }

    @Override
    public int hashCode() {
        return Objects.hash(storageName, address, detailsAddress, id, remark, provinceNo, cityNo, districtNo, provinceName, cityName, districtName, desc, latitude, longitude, companyId, no);
    }
}
